import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// import socket from './network/websocket'
// import VueSocketio from 'vue-socket.io' // 先将VueSocketio包引入进来
// Vue.use(
//   new VueSocketio({
//     debug: true,
//     connection: 'http://127.0.0.1:7001/devin',
//   })
// ) // 然后注册到vue里面去

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
